// pages/service/service.ts
Page({

  /**
   * 页面的初始数据
   */
  data: {
    menuList: [
      {
        title: '回收',
        subs: [{
          name: '废品',
          src:'./../../assets/temp/dz.png',
          imgSize:'60%',
          // background: 'rgba(250,81,81,0.1)'
          // background:'radial-gradient(circle, #ff7e5f, #feb47b)'
        }, {
          name: '旧衣',
          // background: 'linear-gradient(30deg, blue ,rgba(250,81,81,0.3))'
          // background: 'rgba(255,195,0,0.1)'
        }, {
          name: '烟酒礼品',
          // background: 'rgba(100,103,204,0.1)'
        }, {
          name: '家具·家电',
          // background: 'rgba(20,133,238,.1)'
        }, {
          name: '卡券',
          background: 'rgba(7,193,96,0.1)'
        }]
      }, {
        title: '代跑腿',
        subs: [{
          name: '取快递',
          background: 'rgba(250,81,81,0.08)'
        }, {
          name: '交水费',
          background: 'rgba(250,81,81,0.08)'
        }]
      }, {
        title: '家政服务',
        subs: [{
          name: '取快递',
          background: 'rgba(250,81,81,0.08)'
        }, {
          name: '交水费',
          background: 'rgba(250,81,81,0.08)'
        }, {
          name: '交水费',
          background: 'rgba(250,81,81,0.08)'
        }, {
          name: '交水费',
          background: 'rgba(250,81,81,0.08)'
        }]
      }
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad() {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide() {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload() {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage() {

  }
})